package com.ktgj.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 hotel_supplier_link
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class HotelSupplierLink {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long hotelId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long cityId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String hotelCode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long supplierId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String supplierCityId;

    /** 1：有效
0：无效 */
    @Excel(name = "1：有效 0：无效")
    private Long isValid;

    private Date createTime;

    private Long millisecond;

    public Long getMillisecond() {
        return millisecond;
    }

    public void setMillisecond(Long millisecond) {
        this.millisecond = millisecond;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setHotelCode(String hotelCode) 
    {
        this.hotelCode = hotelCode;
    }

    public String getHotelCode() 
    {
        return hotelCode;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierCityId(String supplierCityId) 
    {
        this.supplierCityId = supplierCityId;
    }

    public String getSupplierCityId() 
    {
        return supplierCityId;
    }
    public void setIsValid(Long isValid) 
    {
        this.isValid = isValid;
    }

    public Long getIsValid() 
    {
        return isValid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hotelId", getHotelId())
            .append("cityId", getCityId())
            .append("hotelCode", getHotelCode())
            .append("supplierId", getSupplierId())
            .append("supplierCityId", getSupplierCityId())
            .append("isValid", getIsValid())
            .append("createTime", getCreateTime())
            .toString();
    }
}
